\hypertarget{class_q_qt_client2_message}{}\section{Q\+Qt\+Client2\+Message Class Reference}
\label{class_q_qt_client2_message}\index{Q\+Qt\+Client2\+Message@{Q\+Qt\+Client2\+Message}}
Inheritance diagram for Q\+Qt\+Client2\+Message\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{class_q_qt_client2_message}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_qt_client2_message_adf070c6293b46521676c49bb739a84cc}\label{class_q_qt_client2_message_adf070c6293b46521676c49bb739a84cc}} 
{\bfseries Q\+Qt\+Client2\+Message} (Q\+Object $\ast$parent=nullptr)
\item 
\mbox{\Hypertarget{class_q_qt_client2_message_a97aab72f39c8ef7dd769c6288ae10560}\label{class_q_qt_client2_message_a97aab72f39c8ef7dd769c6288ae10560}} 
quint16 \& {\bfseries size} ()
\item 
\mbox{\Hypertarget{class_q_qt_client2_message_a35e7cb82ed8f229c3e6feebba5d090f6}\label{class_q_qt_client2_message_a35e7cb82ed8f229c3e6feebba5d090f6}} 
const quint16 \& {\bfseries size} () const
\item 
\mbox{\Hypertarget{class_q_qt_client2_message_a76c6980d32449dd5fa533b3cb8795be2}\label{class_q_qt_client2_message_a76c6980d32449dd5fa533b3cb8795be2}} 
quint8 \& {\bfseries cmd} ()
\item 
\mbox{\Hypertarget{class_q_qt_client2_message_aaa7d3593e47bf5c2dc73ee2191b2dae1}\label{class_q_qt_client2_message_aaa7d3593e47bf5c2dc73ee2191b2dae1}} 
const quint8 \& {\bfseries cmd} () const
\item 
\mbox{\Hypertarget{class_q_qt_client2_message_aba747c8696410cf6bea566bb3ad06c8c}\label{class_q_qt_client2_message_aba747c8696410cf6bea566bb3ad06c8c}} 
Q\+Byte\+Array \& {\bfseries data} ()
\item 
\mbox{\Hypertarget{class_q_qt_client2_message_ab72e6dd3162159c91865917146c8f179}\label{class_q_qt_client2_message_ab72e6dd3162159c91865917146c8f179}} 
const Q\+Byte\+Array \& {\bfseries data} () const
\item 
\mbox{\Hypertarget{class_q_qt_client2_message_a95af1f1a9fa69a3bbabc0b8228d1b1f1}\label{class_q_qt_client2_message_a95af1f1a9fa69a3bbabc0b8228d1b1f1}} 
void {\bfseries translate} ()
\item 
virtual void \mbox{\hyperlink{class_q_qt_client2_message_a62ecd0dc6ff91e806dcbfbe48ca39ac8}{parser}} (const Q\+Byte\+Array \&l) override
\begin{DoxyCompactList}\small\item\em 从流中解析报文 这个函数会更改局部变量 \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_q_qt_client2_message_a64b7eaf964f8f2a2ef2c10088fb7e60a}{packer}} (Q\+Byte\+Array \&l) const override
\begin{DoxyCompactList}\small\item\em 将报文组装为流 这个函数不会更改局部变量 \end{DoxyCompactList}\item 
\mbox{\Hypertarget{class_q_qt_client2_message_adf070c6293b46521676c49bb739a84cc}\label{class_q_qt_client2_message_adf070c6293b46521676c49bb739a84cc}} 
{\bfseries Q\+Qt\+Client2\+Message} (Q\+Object $\ast$parent=nullptr)
\item 
\mbox{\Hypertarget{class_q_qt_client2_message_a97aab72f39c8ef7dd769c6288ae10560}\label{class_q_qt_client2_message_a97aab72f39c8ef7dd769c6288ae10560}} 
quint16 \& {\bfseries size} ()
\item 
\mbox{\Hypertarget{class_q_qt_client2_message_a35e7cb82ed8f229c3e6feebba5d090f6}\label{class_q_qt_client2_message_a35e7cb82ed8f229c3e6feebba5d090f6}} 
const quint16 \& {\bfseries size} () const
\item 
\mbox{\Hypertarget{class_q_qt_client2_message_a76c6980d32449dd5fa533b3cb8795be2}\label{class_q_qt_client2_message_a76c6980d32449dd5fa533b3cb8795be2}} 
quint8 \& {\bfseries cmd} ()
\item 
\mbox{\Hypertarget{class_q_qt_client2_message_aaa7d3593e47bf5c2dc73ee2191b2dae1}\label{class_q_qt_client2_message_aaa7d3593e47bf5c2dc73ee2191b2dae1}} 
const quint8 \& {\bfseries cmd} () const
\item 
\mbox{\Hypertarget{class_q_qt_client2_message_aba747c8696410cf6bea566bb3ad06c8c}\label{class_q_qt_client2_message_aba747c8696410cf6bea566bb3ad06c8c}} 
Q\+Byte\+Array \& {\bfseries data} ()
\item 
\mbox{\Hypertarget{class_q_qt_client2_message_ab72e6dd3162159c91865917146c8f179}\label{class_q_qt_client2_message_ab72e6dd3162159c91865917146c8f179}} 
const Q\+Byte\+Array \& {\bfseries data} () const
\item 
\mbox{\Hypertarget{class_q_qt_client2_message_a95af1f1a9fa69a3bbabc0b8228d1b1f1}\label{class_q_qt_client2_message_a95af1f1a9fa69a3bbabc0b8228d1b1f1}} 
void {\bfseries translate} ()
\item 
virtual void \mbox{\hyperlink{class_q_qt_client2_message_a62ecd0dc6ff91e806dcbfbe48ca39ac8}{parser}} (const Q\+Byte\+Array \&l) override
\begin{DoxyCompactList}\small\item\em 从流中解析报文 这个函数会更改局部变量 \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_q_qt_client2_message_a64b7eaf964f8f2a2ef2c10088fb7e60a}{packer}} (Q\+Byte\+Array \&l) const override
\begin{DoxyCompactList}\small\item\em 将报文组装为流 这个函数不会更改局部变量 \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_q_qt_client2_message_a64b7eaf964f8f2a2ef2c10088fb7e60a}\label{class_q_qt_client2_message_a64b7eaf964f8f2a2ef2c10088fb7e60a}} 
\index{Q\+Qt\+Client2\+Message@{Q\+Qt\+Client2\+Message}!packer@{packer}}
\index{packer@{packer}!Q\+Qt\+Client2\+Message@{Q\+Qt\+Client2\+Message}}
\subsubsection{\texorpdfstring{packer()}{packer()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual void Q\+Qt\+Client2\+Message\+::packer (\begin{DoxyParamCaption}\item[{Q\+Byte\+Array \&}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [virtual]}}



将报文组装为流 这个函数不会更改局部变量 


\begin{DoxyParams}{Parameters}
{\em l} & \\
\hline
{\em m} & \\
\hline
\end{DoxyParams}


Reimplemented from \mbox{\hyperlink{class_q_qt_message_af1885c2c3628495808dca66ee8d72e14}{Q\+Qt\+Message}}.

\mbox{\Hypertarget{class_q_qt_client2_message_a64b7eaf964f8f2a2ef2c10088fb7e60a}\label{class_q_qt_client2_message_a64b7eaf964f8f2a2ef2c10088fb7e60a}} 
\index{Q\+Qt\+Client2\+Message@{Q\+Qt\+Client2\+Message}!packer@{packer}}
\index{packer@{packer}!Q\+Qt\+Client2\+Message@{Q\+Qt\+Client2\+Message}}
\subsubsection{\texorpdfstring{packer()}{packer()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual void Q\+Qt\+Client2\+Message\+::packer (\begin{DoxyParamCaption}\item[{Q\+Byte\+Array \&}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [virtual]}}



将报文组装为流 这个函数不会更改局部变量 


\begin{DoxyParams}{Parameters}
{\em l} & \\
\hline
{\em m} & \\
\hline
\end{DoxyParams}


Reimplemented from \mbox{\hyperlink{class_q_qt_message_af1885c2c3628495808dca66ee8d72e14}{Q\+Qt\+Message}}.

\mbox{\Hypertarget{class_q_qt_client2_message_a62ecd0dc6ff91e806dcbfbe48ca39ac8}\label{class_q_qt_client2_message_a62ecd0dc6ff91e806dcbfbe48ca39ac8}} 
\index{Q\+Qt\+Client2\+Message@{Q\+Qt\+Client2\+Message}!parser@{parser}}
\index{parser@{parser}!Q\+Qt\+Client2\+Message@{Q\+Qt\+Client2\+Message}}
\subsubsection{\texorpdfstring{parser()}{parser()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual void Q\+Qt\+Client2\+Message\+::parser (\begin{DoxyParamCaption}\item[{const Q\+Byte\+Array \&}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [virtual]}}



从流中解析报文 这个函数会更改局部变量 


\begin{DoxyParams}{Parameters}
{\em m} & \\
\hline
{\em l} & \\
\hline
\end{DoxyParams}


Reimplemented from \mbox{\hyperlink{class_q_qt_message_a0bc25669bdd61490b1d8df6d77565f31}{Q\+Qt\+Message}}.

\mbox{\Hypertarget{class_q_qt_client2_message_a62ecd0dc6ff91e806dcbfbe48ca39ac8}\label{class_q_qt_client2_message_a62ecd0dc6ff91e806dcbfbe48ca39ac8}} 
\index{Q\+Qt\+Client2\+Message@{Q\+Qt\+Client2\+Message}!parser@{parser}}
\index{parser@{parser}!Q\+Qt\+Client2\+Message@{Q\+Qt\+Client2\+Message}}
\subsubsection{\texorpdfstring{parser()}{parser()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual void Q\+Qt\+Client2\+Message\+::parser (\begin{DoxyParamCaption}\item[{const Q\+Byte\+Array \&}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [virtual]}}



从流中解析报文 这个函数会更改局部变量 


\begin{DoxyParams}{Parameters}
{\em m} & \\
\hline
{\em l} & \\
\hline
\end{DoxyParams}


Reimplemented from \mbox{\hyperlink{class_q_qt_message_a0bc25669bdd61490b1d8df6d77565f31}{Q\+Qt\+Message}}.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/examples/qqtclientexample/qqtclient2protocol.\+h\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/examples/qqtserverexample/qqtserver2protocolmanager.\+h\end{DoxyCompactItemize}
